package com.w.wx.mapper;

import com.w.wx.domain.ShoppingCar;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Mapper
@Component
public interface ShoppingCarMapper {

    int insert(ShoppingCar record);

    ArrayList<Integer> selectByOpenid(String openid);

    int deleteCarGoods(Integer gid);


    int deleteCar(ShoppingCar car);
}